Testing Click applications with Pytest